package com.wwtech.epp.entity;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * 作者：Android on 2017/9/21
 * 邮箱：365941593@qq.com
 * 描述：
 */

public class Approve extends BaseBack {

    /**
     * data : {"endRow":5,"firstPage":1,"hasNextPage":true,"hasPreviousPage":false,"isFirstPage":true,"isLastPage":false,"lastPage":3,"list":[{"appData":60,"appId":6,"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20170914/e9a49beb7f4b4324bbd178d39cffae9d.jpg","curReviewId":10002,"nickName":"龚厚文","requestId":28,"requestTime":"2017-09-29 16:27:35","requsetInfo":"{\"开始时间\":\"\",\"抄送人\":\"\",\"时长\":\"\",\"结束时间\":\"\",\"请假事由\":\"\",\"请假类型\":\"事假\"}","reviewerAvatar":"","reviewerNick":"","reviewerRoleLevel":0,"state":0,"updateTime":"2017-09-29 16:27:35","userId":10221},{"appData":59,"appId":6,"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20170914/e9a49beb7f4b4324bbd178d39cffae9d.jpg","curReviewId":10002,"nickName":"龚厚文","requestId":27,"requestTime":"2017-09-29 16:07:24","requsetInfo":"{\"开始时间\":\"\",\"抄送人\":\"\",\"时长\":\"\",\"结束时间\":\"\",\"请假事由\":\"\",\"请假类型\":\"事假\"}","reviewerAvatar":"","reviewerNick":"","reviewerRoleLevel":0,"state":0,"updateTime":"2017-09-29 16:07:24","userId":10221},{"appData":58,"appId":6,"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20170914/e9a49beb7f4b4324bbd178d39cffae9d.jpg","curReviewId":10002,"nickName":"龚厚文","requestId":26,"requestTime":"2017-09-29 16:03:32","requsetInfo":"{\"开始时间\":\"2017-09-29\",\"抄送人\":\"\",\"时长\":\"\",\"结束时间\":\"2017-09-29\",\"请假事由\":\"\",\"请假类型\":\"事假\"}","reviewerAvatar":"","reviewerNick":"","reviewerRoleLevel":0,"state":0,"updateTime":"2017-09-29 16:03:32","userId":10221},{"appData":57,"appId":6,"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20170914/e9a49beb7f4b4324bbd178d39cffae9d.jpg","curReviewId":10002,"nickName":"龚厚文","requestId":25,"requestTime":"2017-09-29 15:58:51","requsetInfo":"{\"开始时间\":\"2017-09-29\",\"抄送人\":\"\",\"时长\":\"1\",\"结束时间\":\"2017-09-29\",\"请假事由\":\"1\",\"请假类型\":\"事假\"}","reviewerAvatar":"","reviewerNick":"","reviewerRoleLevel":0,"state":0,"updateTime":"2017-09-29 15:58:51","userId":10221},{"appData":56,"appId":6,"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20170914/e9a49beb7f4b4324bbd178d39cffae9d.jpg","curReviewId":10002,"nickName":"龚厚文","requestId":24,"requestTime":"2017-09-29 14:52:02","requsetInfo":"{\"开始时间\":\"2017-09-29\",\"抄送人\":\"\",\"时长\":\"1\",\"结束时间\":\"2017-09-29\",\"请假事由\":\"1\",\"请假类型\":\"事假\"}","reviewerAvatar":"","reviewerNick":"","reviewerRoleLevel":0,"state":0,"updateTime":"2017-09-29 14:52:02","userId":10221}],"navigatePages":8,"navigatepageNums":[1,2,3],"nextPage":2,"pageNum":1,"pageSize":5,"pages":3,"prePage":0,"size":5,"startRow":1,"total":15}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * endRow : 5
         * firstPage : 1
         * hasNextPage : true
         * hasPreviousPage : false
         * isFirstPage : true
         * isLastPage : false
         * lastPage : 3
         * list : [{"appData":60,"appId":6,"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20170914/e9a49beb7f4b4324bbd178d39cffae9d.jpg","curReviewId":10002,"nickName":"龚厚文","requestId":28,"requestTime":"2017-09-29 16:27:35","requsetInfo":"{\"开始时间\":\"\",\"抄送人\":\"\",\"时长\":\"\",\"结束时间\":\"\",\"请假事由\":\"\",\"请假类型\":\"事假\"}","reviewerAvatar":"","reviewerNick":"","reviewerRoleLevel":0,"state":0,"updateTime":"2017-09-29 16:27:35","userId":10221},{"appData":59,"appId":6,"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20170914/e9a49beb7f4b4324bbd178d39cffae9d.jpg","curReviewId":10002,"nickName":"龚厚文","requestId":27,"requestTime":"2017-09-29 16:07:24","requsetInfo":"{\"开始时间\":\"\",\"抄送人\":\"\",\"时长\":\"\",\"结束时间\":\"\",\"请假事由\":\"\",\"请假类型\":\"事假\"}","reviewerAvatar":"","reviewerNick":"","reviewerRoleLevel":0,"state":0,"updateTime":"2017-09-29 16:07:24","userId":10221},{"appData":58,"appId":6,"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20170914/e9a49beb7f4b4324bbd178d39cffae9d.jpg","curReviewId":10002,"nickName":"龚厚文","requestId":26,"requestTime":"2017-09-29 16:03:32","requsetInfo":"{\"开始时间\":\"2017-09-29\",\"抄送人\":\"\",\"时长\":\"\",\"结束时间\":\"2017-09-29\",\"请假事由\":\"\",\"请假类型\":\"事假\"}","reviewerAvatar":"","reviewerNick":"","reviewerRoleLevel":0,"state":0,"updateTime":"2017-09-29 16:03:32","userId":10221},{"appData":57,"appId":6,"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20170914/e9a49beb7f4b4324bbd178d39cffae9d.jpg","curReviewId":10002,"nickName":"龚厚文","requestId":25,"requestTime":"2017-09-29 15:58:51","requsetInfo":"{\"开始时间\":\"2017-09-29\",\"抄送人\":\"\",\"时长\":\"1\",\"结束时间\":\"2017-09-29\",\"请假事由\":\"1\",\"请假类型\":\"事假\"}","reviewerAvatar":"","reviewerNick":"","reviewerRoleLevel":0,"state":0,"updateTime":"2017-09-29 15:58:51","userId":10221},{"appData":56,"appId":6,"avatar":"http://s3.cn-north-1.amazonaws.com.cn/zxltest/20170914/e9a49beb7f4b4324bbd178d39cffae9d.jpg","curReviewId":10002,"nickName":"龚厚文","requestId":24,"requestTime":"2017-09-29 14:52:02","requsetInfo":"{\"开始时间\":\"2017-09-29\",\"抄送人\":\"\",\"时长\":\"1\",\"结束时间\":\"2017-09-29\",\"请假事由\":\"1\",\"请假类型\":\"事假\"}","reviewerAvatar":"","reviewerNick":"","reviewerRoleLevel":0,"state":0,"updateTime":"2017-09-29 14:52:02","userId":10221}]
         * navigatePages : 8
         * navigatepageNums : [1,2,3]
         * nextPage : 2
         * pageNum : 1
         * pageSize : 5
         * pages : 3
         * prePage : 0
         * size : 5
         * startRow : 1
         * total : 15
         */

        private int endRow;
        private int firstPage;
        private boolean hasNextPage;
        private boolean hasPreviousPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private int lastPage;
        private int navigatePages;
        private int nextPage;
        private int pageNum;
        private int pageSize;
        private int pages;
        private int prePage;
        private int size;
        private int startRow;
        private int total;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean implements Parcelable{
            /**
             * appData : 60
             * appId : 6
             * avatar : http://s3.cn-north-1.amazonaws.com.cn/zxltest/20170914/e9a49beb7f4b4324bbd178d39cffae9d.jpg
             * curReviewId : 10002
             * nickName : 龚厚文
             * requestId : 28
             * requestTime : 2017-09-29 16:27:35
             * requsetInfo : {"开始时间":"","抄送人":"","时长":"","结束时间":"","请假事由":"","请假类型":"事假"}
             * reviewerAvatar :
             * reviewerNick :
             * reviewerRoleLevel : 0
             * state : 0
             * updateTime : 2017-09-29 16:27:35
             * userId : 10221
             */

            private int appData;
            private int appId;
            private String avatar;
            private int curReviewId;
            private String nickName;
            private int requestId;
            private String requestTime;
            private String requsetInfo;
            private String reviewerAvatar;
            private String reviewerNick;
            private int reviewerRoleLevel;
            private int state;
            private String updateTime;
            private int userId;
            private int reviewId;

            public int getReviewId() {
                return reviewId;
            }

            public void setReviewId(int reviewId) {
                this.reviewId = reviewId;
            }

            protected ListBean(Parcel in) {
                appData = in.readInt();
                appId = in.readInt();
                avatar = in.readString();
                curReviewId = in.readInt();
                nickName = in.readString();
                requestId = in.readInt();
                requestTime = in.readString();
                requsetInfo = in.readString();
                reviewerAvatar = in.readString();
                reviewerNick = in.readString();
                reviewerRoleLevel = in.readInt();
                state = in.readInt();
                updateTime = in.readString();
                userId = in.readInt();
                reviewId = in.readInt();
            }

            public static final Creator<ListBean> CREATOR = new Creator<ListBean>() {
                @Override
                public ListBean createFromParcel(Parcel in) {
                    return new ListBean(in);
                }

                @Override
                public ListBean[] newArray(int size) {
                    return new ListBean[size];
                }
            };

            public int getAppData() {
                return appData;
            }

            public void setAppData(int appData) {
                this.appData = appData;
            }

            public int getAppId() {
                return appId;
            }

            public void setAppId(int appId) {
                this.appId = appId;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public int getCurReviewId() {
                return curReviewId;
            }

            public void setCurReviewId(int curReviewId) {
                this.curReviewId = curReviewId;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public int getRequestId() {
                return requestId;
            }

            public void setRequestId(int requestId) {
                this.requestId = requestId;
            }

            public String getRequestTime() {
                return requestTime;
            }

            public void setRequestTime(String requestTime) {
                this.requestTime = requestTime;
            }

            public String getRequsetInfo() {
                return requsetInfo;
            }

            public void setRequsetInfo(String requsetInfo) {
                this.requsetInfo = requsetInfo;
            }

            public String getReviewerAvatar() {
                return reviewerAvatar;
            }

            public void setReviewerAvatar(String reviewerAvatar) {
                this.reviewerAvatar = reviewerAvatar;
            }

            public String getReviewerNick() {
                return reviewerNick;
            }

            public void setReviewerNick(String reviewerNick) {
                this.reviewerNick = reviewerNick;
            }

            public int getReviewerRoleLevel() {
                return reviewerRoleLevel;
            }

            public void setReviewerRoleLevel(int reviewerRoleLevel) {
                this.reviewerRoleLevel = reviewerRoleLevel;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeInt(appData);
                dest.writeInt(appId);
                dest.writeString(avatar);
                dest.writeInt(curReviewId);
                dest.writeString(nickName);
                dest.writeInt(requestId);
                dest.writeString(requestTime);
                dest.writeString(requsetInfo);
                dest.writeString(reviewerAvatar);
                dest.writeString(reviewerNick);
                dest.writeInt(reviewerRoleLevel);
                dest.writeInt(state);
                dest.writeString(updateTime);
                dest.writeInt(userId);
                dest.writeInt(reviewId);
            }
        }
    }
}
